package com.mininglamp.mode;

/**
 * @author xiewendong@mininglamp.com
 * @Description:
 * @since 2017/8/11 13:52
 */
public class Output {
    /*是否触发*/
    private boolean flag=false;
    /*描述*/
    private String desc;
    /*触发规则*/
    private String rulesName;
    /*触发对象*/
    private Input fact;
    /*触发时间*/
    private String time;

    public Output() {
    }

    public Output(boolean flag, String rulesName, Input fact, String time, String desc) {
        this.flag = flag;
        this.rulesName = rulesName;
        this.fact = fact;
        this.time = time;
        this.desc=desc;
    }

    public boolean isFlag() {
        return flag;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public String getRulesName() {
        return rulesName;
    }

    public void setRulesName(String rulesName) {
        this.rulesName = rulesName;
    }

    public Input getFact() {
        return fact;
    }

    public void setFact(Input fact) {
        this.fact = fact;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
